package org.jeecg.modules.engineering.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.system.entity.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 设备采集数据报警信息
 * @Author: jeecg-boot
 * @Date:   2020-04-02
 * @Version: V1.0
 */
@Data
@TableName("equip_data_event")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="equip_data_event对象", description="设备采集数据报警信息")
public class EquipDataEvent {
    
	/**id*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "id")
	private Integer id;
	/**完整产品编码 唯一*/
	@Excel(name = "完整产品编码 唯一", width = 15)
    @ApiModelProperty(value = "完整产品编码 唯一")
	private String fullCode;
	/**事件或者采集编码*/
	@Excel(name = "事件或者采集编码", width = 15)
	@ApiModelProperty(value = "事件或者采集编码")
	private String code;
	/**项目*/
	@Excel(name = "项目", width = 15)
    @ApiModelProperty(value = "项目")
	private String project;
	/**区域*/
	@Excel(name = "区域", width = 15)
    @ApiModelProperty(value = "区域")
	private String area;
	/**产品类型*/
	@Excel(name = "产品类型", width = 15)
    @ApiModelProperty(value = "产品类型")
	private String productType;
	/**产品编码*/
	@Excel(name = "产品编码", width = 15)
    @ApiModelProperty(value = "产品编码")
	private String productCode;
	/**代表的产品功能 门状态 开/关等*/
	@Excel(name = "代表的产品功能 门状态 开/关等", width = 15)
    @ApiModelProperty(value = "代表的产品功能 门状态 开/关等")
	private String productFunc;
	/**data*/
	@Excel(name = "data", width = 15)
    @ApiModelProperty(value = "data")
	private String data;
	/**时间触发事件*/
	@Excel(name = "时间触发事件", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "时间触发事件")
	private Date triggerOnTime;
	/**代表的产品功能 门状态 开/关等*/
	@Excel(name = "代表的产品功能 门状态 开/关等", width = 15)
    @ApiModelProperty(value = "代表的产品功能 门状态 开/关等")
	private String offFunc;
	/**offData*/
	@Excel(name = "offData", width = 15)
    @ApiModelProperty(value = "offData")
	private String offData;
	/**事件解除触发时间*/
	@Excel(name = "事件解除触发时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "事件解除触发时间")
	private Date triggerOffTime;
}
